import '18-封装私有属性和方法.dart';

main() {
  Wallet wallet = Wallet();
  wallet.addBalance(100);
  wallet.subtractBalance(50);
  wallet.getInfo();
  // wallet.getUserInfo();//报错，私有方法不能在文件外部调用
}
